export interface Message {
  id: string;
  title: string;
  content: string;
  type: 'system' | 'notification' | 'maintenance';
  isRead: boolean;
  createdAt: string;
  updatedAt: string;
}

export interface MessageListResponse {
  messages: Message[];
  total: number;
  unreadCount: number;
}

export interface MarkAsReadRequest {
  messageId: string;
}

export interface MessageState {
  messages: Message[];
  total: number;
  unreadCount: number;
  isLoading: boolean;
  error: string | null;
}
